<?php

// $Id: pm.tpl.php 7 2008-09-26 21:07:46Z peter.vizi $

// This file is part of japmmfd.
//
// japmmfd is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// 
// japmmfd distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
// 
// You should have received a copy of the GNU General Public License
// along with japmmfd.  If not, see <http://www.gnu.org/licenses/>.

/**
 * @file pm.tpl.php
 *
 * Theme implementation to display a private message.
 *
 * Available variables:
 * - $pm: the private message that is displayed
 * - $message: the body of the message
 * - $links: the rendered links to be displayed (delete/reply)
 * - $submitted: the name of the sender and the date of submittion
 *
 * @see template_preprocess()
 * @see template_preprocess_node()
 *
 * @author peter.vizi@gmail.com
 */
?>
<div id="node-<?php print $pm->mid; ?>" class="node clear-block">
      
      <h2><?php print $pm->subject ?></h2>
      
      <div class="meta">
      <span class="submitted"><?php print $submitted ?></span>      
      </div>

      <div class="content">
      <?php print $message ?>
      </div>
      
      <?php print $links; ?>
</div>
